.example-card {
  max-width: 80%;
  margin: 20px auto;
  /* to center the card */
  margin-bottom: 20px;
}
.example-form {
  display: flex;
  justify-content: center;
  /* center form horizontally */
  width: 100%;
  padding: 20px;
  /* Add some padding around the form to separate it from the edges */
}
.example-form mat-form-field {
  width: 100%;
  /* make form field take up full width */
  flex: 1;
  /* This will make the form field expand to fill the available space */
}
mat-card-content {
  min-height: 150px;
  /* adjust as needed */
}
/* Add some spacing around the card */
mat-card {
  margin: 20px;
  /* adjust as needed */
}
mat-card-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0;
  /* Remove default padding */
  height: auto;
  /* Allow footer height to adjust based on its content */
}
.chat-form {
  width: 60%;
}
.content-border {
  border: 1px solid #ddd;
  border-radius: 5px;
  margin: 10px;
  min-height: calc(100vh - 420px);
}
mat-icon {
  color: inherit;
  /* default color */
  transition: transform 0.3s ease-in-out;
  /* smooth transition for enlarging */
}
mat-icon.active {
  color: blue;
  /* color when hover */
  cursor: pointer;
  /* changes the cursor to a hand pointer */
  transform: scale(1.2);
  /* enlarges the icon */
}
.Echarts {
  width: 75%;
  height: 350px;
  margin: 0 auto;
  margin-top: 20px;
}
.example-header-image {
  background-image: url('https://material.angular.io/assets/img/examples/shiba1.jpg');
  background-size: cover;
}
.content {
  height: 600px;
  background: #ffffff;
  color: #fff;
  overflow: hidden;
  width: 80%;
}
.wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 20px;
}
.carousel {
  width: 100%;
}
mat-sidenav {
  height: calc(100vh - 64px);
  margin: 16px;
  width: 200px;
  border-right: none;
  color: white;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}
.content {
  height: calc(100vh - 100px);
  border-radius: 10px;
  padding: 16px;
  overflow-y: scroll;
}
mat-sidenav-container {
  height: calc(100vh - 65px);
}
.menu-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flext-start;
  /* 这将使文本在按钮中居中 */
  font-size: 1rem;
  transition: background-color 0.3s, color 0.3s;
  /* 添加颜色过渡动画 */
  padding: 30px 0;
  /* 在按钮的顶部和底部添加10px的padding */
}
.menu-button mat-icon {
  margin-right: 8px;
  transition: color 0.3s;
  /* 为图标添加颜色过渡动画 */
}
.button-text {
  margin-left: 16px;
}
/* 当按钮处于正常状态时的样式 */
.menu-button,
.menu-button mat-icon,
.menu-button span {
  color: inherit;
}
/* 当按钮的路由被激活时，改变它和它内部的元素的颜色 */
.menu-button.active,
.menu-button.active mat-icon,
.menu-button.active span {
  background-color: #012d74 !important;
  /* 使用你想要的背景颜色 */
  color: white !important;
}
/* 当鼠标悬停在按钮上时，改变背景颜色 */
.menu-button:hover {
  background-color: #e7e0e0 !important;
}
/* 修改mat-divider的margin */
mat-divider {
  margin: 10px !important;
}
.avatar {
  margin-top: 16px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
}
.name {
  margin-top: 8px;
  font-weight: normal;
}
.designation {
  margin-top: 2px;
  font-size: 0.7rem;
  color: lightgrey;
}
mat-divider {
  margin-top: 16px;
  margin-bottom: 16px;
  background-color: rgba(255, 255, 255, 0.5);
}
/* 定义滚动条的轨道（背景） */
.content::-webkit-scrollbar {
  width: 8px;
  background-color: #F5F5F5;
}
/* 定义滚动条的滑块 */
.content::-webkit-scrollbar-thumb {
  background-color: #012d74;
  border-radius: 10px;
}
/* 定义滚动条的轨道（背景）上的阴影或边界 */
.content::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}
::ng-deep .mat-drawer-container {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  display: block;
  overflow: hidden;
  background-color: #eceae4;
}
.echarts {
  width: 100%;
  height: 100%;
}
mat-card-content {
  font-family: 'Roboto', sans-serif !important;
}
h2 {
  padding: 30px 0;
  text-align: center;
}
#bar,
#lineChart {
  width: 800px;
  display: block;
  margin: 30px auto;
  height: 500px;
}
.carousel {
  background-color: #fff;
}
